<?php
/*!
 * @version		$Id: defines.php 8841 2007-12-07 20:14:22Z $
 * @package		diduo
 * @link        http://www.diduo.net
 * @author      moolao <moolao@diduo.net>
 * @abstract    defines.cfg.php
 * @discussion  Main configuration definitions
 * @copyright	Copyright (C) 2007 - 2008 diduo.net development team. All rights reserved.
 */

// no direct access
defined( '_DEXEC' ) or die( 'Restricted access' );

/**
 * diduo Application define
 */

//Global definitions
$parts = explode( DS, DPATH_BASE );

//Defines
define( 'DPATH_ROOT',			implode( DS, $parts ) );
define( 'DPATH_SITE',			DPATH_ROOT );
define( 'DPATH_CONFIGURATION', 	DPATH_ROOT.DS.'conf' );
define( 'DPATH_ADMINISTRATOR', 	DPATH_ROOT.DS.'administrator' );
define( 'DPATH_XMLRPC', 		DPATH_ROOT.DS.'xmlrpc' );
define( 'DPATH_LIBRARIES',	 	DPATH_ROOT.DS.'common' );
define( 'DPATH_PLUGINS',		DPATH_ROOT.DS.'plugins'   );
define( 'DPATH_CONTROLLER',     DPATH_ROOT.DS.'controller' );
define( 'DPATH_THEMES'	   ,	DPATH_BASE.DS.'templates' );
define( 'DPATH_CACHE',			DPATH_BASE.DS.'cache');
define( 'ACTIONSTR',			'play');
define( 'EXEKEYSTR',			'key');
?>